#ifndef MUSIC_H
#define MUSIC_H

#include <QWidget>
#include "mainwindow.h"
#include <QMediaPlayer>
#include <QMediaPlaylist>
#include "music_search.h"
#include "my_qlabel.h"
namespace Ui {
class music;
}

class music : public QWidget
{
    Q_OBJECT

public:
    explicit music(QWidget *parent = nullptr);
    ~music();

    int static_voice;//判断声音按钮状态
    int voice_mun;//声音大小
    music_search * Music_Search;

    void Sliderall(qint64 time);
    void Slidering(qint64 time);
    void songename(QString name);

private slots:
    void on_search_clicked();
    void close_clicked();
    void min_clicked();
    void on_pushButton_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_2_clicked();

    void on_horizontalSlider_sliderReleased();


    void on_pushButton_3_clicked();


    void on_verticalSlider_sliderReleased();

private:
    Ui::music *ui;
};

#endif // MUSIC_H
